n = 100
print((n * (n + 1) / 2) ** 2 - ((2 * n + 1) * (n + 1) * n / 6))
